<?php
/**
 * @package Flipper Open Source New Generation Blogging
 * @author Flipper Team <code@flipper.com>
 * @copyright Flipper Inc , 2011
 * @version 1.0
 * @name Flipper Routing Config
 */

return $flipper['router'] = array(

                              "post"     => array("controller" => 'post',
                                                  "action"       => 'detail',
                                                  "uri"          => '[directory]/post/[post-id][post-title]/' // example.com/post/1-hello-word/
                                                 ),

                              "category" => array("controller" => 'category',
                                                  "action"     => 'detail',
                                                  "uri"        => '[directory]/category/[category-name]/' // example.com/category/music/
                                                 ),
    
                              "page"     => array("controller" => 'page',
                                                  "action"     => 'detail',
                                                  "uri"        => '[directory]/page/[page-name]/' // example.com/page/about/
                                                 )

                                 );

?>
